package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class OldInventoryInfo {

    /**
     * status : 1
     * inventory_order_id : 86
     * goodsList : [{"id":"5192","merchant_id":"1","store_id":"1","warehouse_id":"392","inventory_order_id":"86","goods_class_id":null,"goods_id":"2268","sku_id":"0","goods_name":"測試調撥","sku_name":"","sku_id_list":"","goods_number":"52602","sku_goods_number":"","goods_code":"","sku_code":"","company":null,"attribute_state":"1","pricing_method":null,"goods_num":"0.000","sku_num":"1.000","cost_price":"0.01","inventory_num":50,"num":"50.000","subtotal":"0.50","type":"1","remarks":null,"inventory_order_number":"SP201910170086","add_time":"1571305473","inventory_goods_id":"1764"}]
     */

    private int status;
    private String inventory_order_id;
    private List<GoodsListBean> goodsList;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInventory_order_id() {
        return inventory_order_id;
    }

    public void setInventory_order_id(String inventory_order_id) {
        this.inventory_order_id = inventory_order_id;
    }

    public List<GoodsListBean> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsListBean> goodsList) {
        this.goodsList = goodsList;
    }

    public static class GoodsListBean {
        /**
         * id : 5192
         * merchant_id : 1
         * store_id : 1
         * warehouse_id : 392
         * inventory_order_id : 86
         * goods_class_id : null
         * goods_id : 2268
         * sku_id : 0
         * goods_name : 測試調撥
         * sku_name :
         * sku_id_list :
         * goods_number : 52602
         * sku_goods_number :
         * goods_code :
         * sku_code :
         * company : null
         * attribute_state : 1
         * pricing_method : null
         * goods_num : 0.000
         * sku_num : 1.000
         * cost_price : 0.01
         * inventory_num : 50
         * num : 50.000
         * subtotal : 0.50
         * type : 1
         * remarks : null
         * inventory_order_number : SP201910170086
         * add_time : 1571305473
         * inventory_goods_id : 1764
         */

        private String id;
        private String merchant_id;
        private String store_id;
        private String warehouse_id;
        private String inventory_order_id;
        private String goods_class_id;
        private String goods_id;
        private String sku_id;
        private String goods_name;
        private String sku_name;
        private String sku_id_list;
        private String goods_number;
        private String sku_goods_number;
        private String goods_code;
        private String sku_code;
        private String company;
        private String attribute_state;
        private String pricing_method;
        private String goods_num;
        private String sku_num;
        private String cost_price;
        private double inventory_num;
        private String num;
        private String subtotal;
        private String type;
        private String remarks;
        private String inventory_order_number;
        private String add_time;
        private String inventory_goods_id;
        private List<ReportLossGoodBean.DataBean.ListBean.PurData> pur_id;
        private String purchase_order_id;
        private String serial_number_state;
        private List<SerialListBean> serial_list;

        public List<SerialListBean> getSerial_list() {
            if (serial_list == null) {
                return new ArrayList<>();
            }
            return serial_list;
        }

        public void setSerial_list(List<SerialListBean> serial_list) {
            this.serial_list = serial_list;
        }

        public String getSerial_number_state() {
            return serial_number_state == null ? "" : serial_number_state;
        }

        public void setSerial_number_state(String serial_number_state) {
            this.serial_number_state = serial_number_state;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMerchant_id() {
            return merchant_id == null ? "" : merchant_id;
        }

        public void setMerchant_id(String merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getStore_id() {
            return store_id == null ? "" : store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public String getWarehouse_id() {
            return warehouse_id == null ? "" : warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getInventory_order_id() {
            return inventory_order_id == null ? "" : inventory_order_id;
        }

        public void setInventory_order_id(String inventory_order_id) {
            this.inventory_order_id = inventory_order_id;
        }

        public String getGoods_class_id() {
            return goods_class_id == null ? "" : goods_class_id;
        }

        public void setGoods_class_id(String goods_class_id) {
            this.goods_class_id = goods_class_id;
        }

        public String getGoods_id() {
            return goods_id == null ? "" : goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getSku_id() {
            return sku_id == null ? "" : sku_id;
        }

        public void setSku_id(String sku_id) {
            this.sku_id = sku_id;
        }

        public String getGoods_name() {
            return goods_name == null ? "" : goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getSku_name() {
            return sku_name == null ? "" : sku_name;
        }

        public void setSku_name(String sku_name) {
            this.sku_name = sku_name;
        }

        public String getSku_id_list() {
            return sku_id_list == null ? "" : sku_id_list;
        }

        public void setSku_id_list(String sku_id_list) {
            this.sku_id_list = sku_id_list;
        }

        public String getGoods_number() {
            return goods_number == null ? "" : goods_number;
        }

        public void setGoods_number(String goods_number) {
            this.goods_number = goods_number;
        }

        public String getSku_goods_number() {
            return sku_goods_number == null ? "" : sku_goods_number;
        }

        public void setSku_goods_number(String sku_goods_number) {
            this.sku_goods_number = sku_goods_number;
        }

        public String getGoods_code() {
            return goods_code == null ? "" : goods_code;
        }

        public void setGoods_code(String goods_code) {
            this.goods_code = goods_code;
        }

        public String getSku_code() {
            return sku_code == null ? "" : sku_code;
        }

        public void setSku_code(String sku_code) {
            this.sku_code = sku_code;
        }

        public String getCompany() {
            return company == null ? "" : company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getAttribute_state() {
            return attribute_state == null ? "" : attribute_state;
        }

        public void setAttribute_state(String attribute_state) {
            this.attribute_state = attribute_state;
        }

        public String getPricing_method() {
            return pricing_method == null ? "" : pricing_method;
        }

        public void setPricing_method(String pricing_method) {
            this.pricing_method = pricing_method;
        }

        public String getGoods_num() {
            return goods_num == null ? "0" : goods_num;
        }

        public void setGoods_num(String goods_num) {
            this.goods_num = goods_num;
        }

        public String getSku_num() {
            return sku_num == null ? "" : sku_num;
        }

        public void setSku_num(String sku_num) {
            this.sku_num = sku_num;
        }

        public String getCost_price() {
            return cost_price == null ? "0" : cost_price;
        }

        public void setCost_price(String cost_price) {
            this.cost_price = cost_price;
        }

        public double getInventory_num() {
            return inventory_num;
        }

        public void setInventory_num(double inventory_num) {
            this.inventory_num = inventory_num;
        }

        public String getNum() {
            return num == null ? "" : num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getSubtotal() {
            return subtotal == null ? "" : subtotal;
        }

        public void setSubtotal(String subtotal) {
            this.subtotal = subtotal;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getRemarks() {
            return remarks == null ? "" : remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getInventory_order_number() {
            return inventory_order_number == null ? "" : inventory_order_number;
        }

        public void setInventory_order_number(String inventory_order_number) {
            this.inventory_order_number = inventory_order_number;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getInventory_goods_id() {
            return inventory_goods_id == null ? "" : inventory_goods_id;
        }

        public void setInventory_goods_id(String inventory_goods_id) {
            this.inventory_goods_id = inventory_goods_id;
        }

        public List<ReportLossGoodBean.DataBean.ListBean.PurData> getPur_id() {
            return pur_id;
        }

        public void setPur_id(List<ReportLossGoodBean.DataBean.ListBean.PurData> pur_id) {
            this.pur_id = pur_id;
        }

        public String getPurchase_order_id() {
            return purchase_order_id;
        }

        public void setPurchase_order_id(String purchase_order_id) {
            this.purchase_order_id = purchase_order_id;
        }
        public class SerialListBean{
            private String id;
            private String merchant_id;
            private String store_id;
            private String outside_id;
            private String goods_id;
            private String sku_id;
            private String main_serial_number;
            private String auxiliary_serial_number_one;
            private String auxiliary_serial_number_two;
            private String add_time;
            private String num;

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMerchant_id() {
                return merchant_id == null ? "" : merchant_id;
            }

            public void setMerchant_id(String merchant_id) {
                this.merchant_id = merchant_id;
            }

            public String getStore_id() {
                return store_id == null ? "" : store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getOutside_id() {
                return outside_id == null ? "" : outside_id;
            }

            public void setOutside_id(String outside_id) {
                this.outside_id = outside_id;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public String getMain_serial_number() {
                return main_serial_number == null ? "" : main_serial_number;
            }

            public void setMain_serial_number(String main_serial_number) {
                this.main_serial_number = main_serial_number;
            }

            public String getAuxiliary_serial_number_one() {
                return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
            }

            public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                this.auxiliary_serial_number_one = auxiliary_serial_number_one;
            }

            public String getAuxiliary_serial_number_two() {
                return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
            }

            public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                this.auxiliary_serial_number_two = auxiliary_serial_number_two;
            }

            public String getAdd_time() {
                return add_time == null ? "" : add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getNum() {
                return num == null ? "" : num;
            }

            public void setNum(String num) {
                this.num = num;
            }
        }
    }
}
